package cn.virens.common.boot.provider.apijson.autoconfig;

import apijson.RequestMethod;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Data
@NoArgsConstructor
@ConfigurationProperties(prefix = "virens.apijson")
public class ApijsonProperties {
    private List<Class<?>> classes;

    private Boolean needVerifyContent;
    private Boolean needVerifyLogin;
    private Boolean needVerifyRole;
    private Boolean enabled;
    private Boolean debug;

    private RequestMethod method;

    private String dbPassword;
    private String dbAccount;
    private String dbVersion;
    private String dbSchema;
    private String dbUri;
}
